<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
</head>
<body>
<h1 align="center">用户注册表</h1>

<form method="">
    <table width="100%" border="3" higned="100%" cellspacing="10" bgcolor="#dcdcdc" >
        <tr>
            <td     align="center">用户名</td>
            <td>    <input type="text" required name="username">    *   </td>
        </tr>

        <tr>
            <td align="center">密码</td>
            <td>    <input type="password" required name="pass">    *   </td>
        </tr>

        <tr>
            <td align="center">确认密码</td>
            <td>    <input type="password" required name="pass1">    *   </td>
        </tr>

        <tr>
            <td  align="center">性别</td>
            <td>
                <input type="radio" name="sex" value="男" checked>男
                <input type="radio" name="sex" value="女">女
            </td>
        </tr>


        <tr>
            <td align="center">出生日期</td>
            <td>    <input type="date" min="1960-01-01" max="2017-3-16" name="birthday" id="birthday" >    </td>
        </tr>

        <tr>
            <td align="center">联系电话</td>
            <td>    <input type="tel" required name="pass1">    </td>
        </tr>

        <tr>
            <td align="center">电子邮件</td>
            <td>    <input type="email" required name="email" id="email" placeholder="您的电子邮箱">   *   </td>
        </tr>

        <tr>
            <td align="center">最高学历</td>
            <td>
                <input type="radio" name="Degree" value="中专" >中专
                <input type="radio" name="Degree" value="大专" >大专
                <input type="radio" name="Degree" value="大学" >大学
            </td>
        </tr>

        <tr>
            <td align="center">职业</td>
            <td>
                <select size="1" name="work">
                    <option value="政府职员"selected>政府职员</option>
                    <option value="工程师">工程师</option>
                    <option value="工人">工人</option>
                    <option value="教师" selected>教师</option>
                    <option value="医生">医生</option>
                    <option value="学生"selected>学生</option>
                </select>
            </td>
        </tr>

        <tr>
            <td align="center">爱好</td>
            <td>
                <input type="checkbox" name="like[1]" value="上网" checked>上网
                <input type="checkbox" name="like[2]" value="篮球" checked>篮球
                <input type="checkbox" name="like[3]" value="听歌" checked>听歌
                <input type="checkbox" name="like[4]" value="下棋" checked>下棋
            </td>
        </tr>

        <tr>
            <td align="center">留言</td>
            <td>    <textarea name="think" cols="70" rows="5">请输入您的留言信息...</textarea>    </td>
        </tr>

        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="submit" value="提交"/>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="reset" name="reset" value="重写"/>
            </td>
        </tr>

    </table>
</form>

</body>
</html>